// pages/personal/info/info.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    gerder : '',
    gerderList : ['Man','Woman']
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  headBtnClick:function(e) {



  },

  getNickName:function(e){

  },

  GerderOnClick:function(e){
      wx.showActionSheet({
        itemList: this.data.gerderList,
        itemColor: '#000000',
        success: (result)=>{
          console.log(result.tapIndex)
            this.setData({
                gerder : this.data.gerderList[result.tapIndex]
            })
        },
        fail: ()=>{},
        complete: ()=>{}
      });
  },

  bindDateChange: function (e) {
    console.log('picker发送选择改变，携带值为', e.detail.value)
    this.setData({
      date: e.detail.value
    })
  },




  SaveOnClick:function(){



  }

})